package com.meida.paotui.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 实名认证表
 *
 * @author fjn
 * @date 2019-10-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_identity")
@TableAlias("identity")
@ApiModel(value="BusIdentity对象", description="实名认证表")
public class BusIdentity extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "identityId", type = IdType.ID_WORKER)
    private long identityId;

    @ApiModelProperty(value = "用户ID")
    private long userId;

    @ApiModelProperty(value = "真实姓名")
    private String userName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "身份证")
    private String cardNo;

    @ApiModelProperty(value = "身份证正面照")
    private String cardNoImg;

    @ApiModelProperty(value = "身份证反面照")
    private String cardNoImg2;

    @ApiModelProperty(value = "手持照片")
    private String cardNoImg3;

    @ApiModelProperty(value = "反面照")
    private String cardNoImg4;

    @ApiModelProperty(value = "是否通过审核")
    private Integer isPass;

    @ApiModelProperty(value = "民族")
    private String nation;

    @ApiModelProperty(value = "不通过原因")
    private String reason;

    @ApiModelProperty(value = "用户类型")
    private String  userType;

    @ApiModelProperty(value = "营业执照")
    private String  license;

    @ApiModelProperty(value = "门头照")
    private String overdoor;





}
